package com.lizhen.behaviorpattern.mediatorpattern;

public class MediatorPattern {
    public MediatorPattern() {
    }

    public static void main(String[] args) {
        User robert = new User("Robert");
        User john = new User("John");
        robert.sendMessage("Hi! John!");
        john.sendMessage("Hello! Robert!");
    }
}
